In This Topic
When creating a list report with tables, diagrams, etc. in Designer or printing/exporting it, nothing else needs to be taken into account apart from registering the data source, as this is the standard case. Thus, the code for this is also implemented very quickly.
using (ListLabel LL = new ListLabel())
{
// Define/Assign data source
LL.DataSource = CreateDataSet();
// Call the Designer
LL.Design();
// Print
LL.Print();
}
Using LL As New ListLabel()
' Define/Assign data source
LL.DataSource = CreateDataSet()
' Call the Designer
LL.Design()
' Print
LL.Print()
End Using